package com.springboot.sba.D5_MySql.dao;

import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface CustMapper {

    @Select("select id from psb_user")
    public List<Integer> getIds();

    @Insert("insert into payment(id,serial) values(#{id},#{serial})")
    public int insert(@Param("id") int id, @Param("serial") String serial);
}
